home *** CD-ROM | disk | FTP | other *** search
/ Windows 95 API Bible / Windows 95 API Bible 3 Disc Set.iso / Win32 API Bible Book 2 of 3 / CHAPTER6 / DELCOL.RC < prev    next >
Text File  |  1996-03-06  |  1KB  |  40 lines

  1. #include "windows.h"
  2. #include "delcol.h"
  3. #include "winver.h"
  4.  
  5. MYAPP                   ICON    DISCARDABLE     "GENERIC.ICO"
  6.  
  7. MYAPP MENU DISCARDABLE 
  8. BEGIN
  9.     POPUP "&File"
  10.     BEGIN
  11.         MENUITEM "&New",                       IDM_NEWCOLUMN
  12.         MENUITEM "&Delete",                    IDM_DELETE
  13.         POPUP    "&Rename"
  14.         BEGIN
  15.            MENUITEM "To &Column",              IDM_RENCOL
  16.            MENUITEM "To &Field",               IDM_RENFIELD
  17.         END
  18.         MENUITEM SEPARATOR
  19.         MENUITEM "E&xit",                      IDM_EXIT
  20.     END
  21.     POPUP "&Help"
  22.     BEGIN
  23.         MENUITEM "&About ListView_DeleteColumn()...",   IDM_ABOUT
  24.     END
  25. END
  26.  
  27.  
  28. ABOUTBOX DIALOG 22, 17, 171, 43
  29. STYLE DS_MODALFRAME | WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU
  30. CAPTION "ListView_DeleteColumn()"
  31. FONT 8, "Helv"
  32. {
  33.  CONTROL "MyApp", -1, "STATIC", SS_ICON | WS_CHILD | WS_VISIBLE, 3, 2, 16, 16
  34.  CONTROL "Generic Application", DLG_VERFIRST, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 28, 4, 100, 8
  35.  CONTROL "OK", IDOK, "BUTTON", BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 116, 26, 50, 14
  36. }
  37.  
  38.  
  39.  
  40.